﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo09
{
    class Duck : Animal, ISwim
    {
        public Duck(string ani) : base(ani)
        {

        }
        public void Swimming()
        {
            Console.WriteLine("也能游泳。");
        }
    }
}
